<?php namespace Admin\Controller;

use Hdphp\Controller\Controller;

/**
 * 后台的权限验证
 * @author 张少华<23963022@qq.com>
 */

class AuthController extends Controller{

	public function __construct(){
		if(!isset($_SESSION['admin_id']))
		{
			go('Login/login');
		}
		parent::__construct();
	}
}